/**  

* @Title: AdminDao.java 

* @Package com.gxbadge.dao 

* @Description: TODO(用一句话描述该文件做什么) 

* @author CST

* @version V1.0  

*/ 

package com.gxbadge.dao;

import java.util.List;

import com.gxbadge.model.Administrator;

public interface AdministratorDao {

	void save(Administrator admin);
	
	void update(Administrator admin);
	
	void delete(Administrator admin);
	
	Administrator findAdminByAdminId(Integer adminId);
	
	List<Administrator> findAdminAll();
	
	Administrator findAdminByNameAndPassword(String name, String password);

	Administrator findAdminByName(String name);
}
